fix frontend strict standards