+Fixed some OS X issues