Issue 59: error mapping not work