Empty dir hack and supress api check
Removed useless dir hack