hardcoded filename errors fixed