Fixed the polling by using  rather then