fix travis submit code climate
fix tests
change editor functions