Fixed dome bugs