It seems it was a problem with my image, I started off with a clean image and now it's working properly.