Pmd code inspection and problems fixed which pmd pointed out

U will like wat will come out if u pull dis