Fix error with messages.properties loading