Fixing code on 404