bower supporting and bug fixing