custom component bugfix