resource and qss handling