fixed bug in displaying action button with datasource