solving some issue regarding grunt server and images retriving