Fix env for rack application