Fixed some bugs in homepage slider and in the admin panel