Fixing elevator problem