fixed big decimal null pointer exception errror