compilemessages fix dir bug