removing public directory
bcmath pre-checking