fixs to sinatra, pre working