fix decompile for sinatra 1.4
fix error handling in namespace