Fixed wrong format type used