minor fixes

Fixed some error in OS X mkdir permission.
Added sleep time in order to get the Author right.