solve static resources mapping problem