Fix depricated code, :public symbol to -> :public_dir