fixing build permission