controller write action fixed, mb_split at line 24