fixing bugs and adding stuff for wordpress