fixed bugs in images/albums controllers/repositories