fixed some cross browser issues with default theme