default case fixed