added validations to Gif class and it broke app