started working on 402 better error and rails panel