Bug fix

- fixed if() statement. it's tested and working now.